<div class="con_right fr">
  <div class="til">修改密码</div>
  <div class="msg">您现在登录的账号为
    <span class="num" *ngIf="authService.isCompany">{{authService.company.code}}</span>
    <span class="num" *ngIf="authService.isTalent">{{authService.talent.code}}</span>
  </div>
  <div class="input-list">
    <div class="list-item">
      <span class="name" id="cur_pass">当前密码</span><input type="text" class="pre" [(ngModel)]="account.password">
    </div>
    <div class="list-item">
      <span class="name" id="new_pass">新密码</span><input type="text" class="now" [(ngModel)]="account.newPassword">
    </div>
    <div class="list-item">
      <span class="name">确认密码</span><input type="text" class="r_now" [(ngModel)]="rePassword">
    </div>
    <div class="list-item">
      <span *ngIf="rePassword!=null&& rePassword!=account.newPassword" class="alert-danger">新密码不一致！</span>
    </div>
    <div class="list-item">
      <div class="btn" (click)="editCompanyPassword()"  *ngIf="authService.isCompany">保存</div>
      <div class="btn" (click)="editTalentPassword()"  *ngIf="authService.isTalent">保存</div>
    </div>
  </div>
</div>
